<%@page import="mercadopago.MP" %>
<%@page import="org.codehaus.jettison.json.JSONObject" %>

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="layout" content="mainApp" />
	<link href="https://developers.google.com/maps/documentation/javascript/examples/default.css" rel="stylesheet">
	<r:require modules="verViaje, mercadopago"/>
	<script src="http://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places"></script>
<%--	<g:javascript src="../tiny_mce/tiny_mce.js"/>--%>
<%--	<script type="text/javascript" src="${resource(dir: 'js', file: 'comentario.js')}"></script>--%>
<%--	<script type="text/javascript" src="${resource(dir: 'js', file: 'mapa.js')}"></script>--%>
<%--	<script type="text/javascript" src="${resource(dir: 'js', file: 'verViaje.js')}"></script>--%>
<%--	<script type="text/javascript" src="${resource(dir: 'js', file: 'mercadopago.js')}"></script>--%>
</head>

<body>
	<g:form id="formViaje" name="formViaje" controller="viajes">
		<g:hiddenField name="viajeId" id="viajeId" value="${viajeInstance?.id }"/>
		  <div class="row">
		  	<div class="span10">
				<g:render template="contenidoViaje" model="['viajeInstance':viajeInstance]"></g:render>
			</div>
			<div class="span2 noMargin marginLeft5 sideBarMubbia">
			<g:render template="sideBarViaje" model="['viajeInstance':viajeInstance, 'usuarioLogueado':usuarioLogueado, 'checkoutURL':checkoutURL]"></g:render>
			</div>
		  </div>
	</g:form>

</body>
</html>